<?php echo $header; ?><?php echo $column_left; ?><?php echo $column_right; ?>
<div id="content"><?php echo $content_top; ?>
  <div class="breadcrumb">
    <?php foreach ($breadcrumbs as $breadcrumb) { ?>
    <?php echo $breadcrumb['separator']; ?><a rel="nofollow" href="<?php echo $breadcrumb['href']; ?>"><?php echo $breadcrumb['text']; ?></a>
    <?php } ?>
  </div>
  <div>
  <?php if ($product['image']) { ?>
  <div style="float:left;">
  	<a href="<?php echo $productPath; ?>">
  		<img src="<?php echo $product['image']; ?>" title="<?php echo $product['name']; ?>" alt="<?php echo $product['name']; ?>" />
  	</a>
  </div>
  <?php } ?>
  <div style="float:left; margin-left: 20px;">
  	<div style="margin-bottom: 10px;"><a href="<?php echo $productPath; ?>"><h2><?php echo $product['name']; ?></h2></a></div>
  	<div><img src="catalog/view/theme/default/image/stars-5.png"/>&nbsp;&nbsp;<?php echo $reviewsrating[5]; ?></div>
  	<div><img src="catalog/view/theme/default/image/stars-4.png"/>&nbsp;&nbsp;<?php echo $reviewsrating[4]; ?></div>
  	<div><img src="catalog/view/theme/default/image/stars-3.png"/>&nbsp;&nbsp;<?php echo $reviewsrating[3]; ?></div>
  	<div><img src="catalog/view/theme/default/image/stars-2.png"/>&nbsp;&nbsp;<?php echo $reviewsrating[2]; ?></div>
  	<div><img src="catalog/view/theme/default/image/stars-1.png"/>&nbsp;&nbsp;<?php echo $reviewsrating[1]; ?></div>
  </div>
  <?php if ($reviewList) { ?>
    <?php foreach ($reviewList as $review) { ?>
    <div class="content" style="clear:both;border-top:1px solid #E7E7E7;margin-top:15px;padding-top:10px;">
      <div style="float:left;"><b><?php echo $review['author']; ?></b> <?php echo $text_on; ?> <?php echo $review['date_added']; ?></div>
      <div style="float:left;margin-left:20px;"><img src="catalog/view/theme/default/image/stars-<?php echo $review['rating'] . '.png'; ?>" alt="<?php echo $review['reviews']; ?>" /></div>
      <div style="clear: both;padding-top:10px;"><?php echo $review['text']; ?></div>
    </div>
    <?php } ?>
  <div class="pagination"><?php echo $pagination; ?></div>
  <?php } ?>
  <?php if (!$reviewList) { ?>
  <div class="content"><?php echo $text_empty; ?></div>
  <?php } ?>
  </div>
  <?php echo $content_bottom; ?>
</div>
<?php echo $footer; ?>